home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'Insets a pink version of the image. Original idea: Angela M. Cable.',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.17125,0.0616667,0.82375,0.931667),
- 'Darkness': 59,
- 'Defocus': 3,
- 'Frame': {
- 'FrameColor': (198,161,192),
- 'Material': App.Constants.LensFrameMaterial.None,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 14
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (198,161,192),
- 'LightDirection': (-0.842896,0.558777,0.337585),
- 'HighlightSize': 85
- },{
- 'LightColor': (205,31,0),
- 'LightDirection': (-0.1549,0.4376,-0.772),
- 'HighlightSize': 10
- },{
- 'LightColor': (255,255,255),
- 'LightDirection': (1,1,-1),
- 'HighlightSize': 20
- }],
- 'MaxAmbience': 14,
- 'MinAmbience': 14
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 5,
- 'Magnification': 52,
- 'LensMaterial': {
- 'Color': (198,161,192),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 75,
- 'Refraction': 5,
- 'ShapeType': App.Constants.LensShape.VCylindrical,
- 'Shininess': 45
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-